package com.jbl.ma.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jbl.ma.entity.Repair;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jbl.ma.vo.RepairQuery;
import com.jbl.ma.vo.RepairVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jbl
 * @since 2020-12-11
 */
public interface RepairService extends IService<Repair> {

    List<RepairVo> pageQuery(Page<Repair> pageParam, RepairQuery repairQuery);

    boolean repair(String repairId);

    List<String> repairBatch(List<String> repairIds);

    boolean receive(String repairId, String userId);

    List<String> receiveBatch(List<String> repairIds, String userId);

    List<RepairVo> repairList();
}
